﻿using B.S.InOutErrorCode;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace B.S.InOut.Domain
{
    /// <summary>
    /// 出库管理
    /// </summary>
    public class Outmanagement
    {
        /// <summary>
        /// 出库ID（主键）
        /// </summary>
        public int Id { get; set; }
        /// <summary>
        /// 产品ID（外键）
        /// </summary>
        public string? PId { get; set; }
        /// <summary>
        /// 出库订单号
        /// </summary>
        public string? Outboundnumber { get; set; }
        /// <summary>
        /// 关联单号
        /// </summary>
        public string? AssociatedNum { get; set; }
        /// <summary>
        /// 批次
        /// </summary>
        public string? batch { get; set; }
        /// <summary>
        /// 规格
        /// </summary>
        public string? Specifications { get; set; }
        /// <summary>
        /// 数量
        /// </summary>
        public string? Quantity { get; set; }
        /// <summary>
        /// 总价
        /// </summary>
        public string? Totalprice { get; set; }

        /// <summary>
        /// 供应商
        /// </summary>
        public string? Supplier { get; set; }
        /// <summary>
        /// 供应商编号
        /// </summary>
        public string? SupplierID { get; set; }
        /// <summary>
        /// 供应商名称
        /// </summary>
        public string? SupplierName { get; set; }
        /// <summary>
        /// 供应商联系人
        /// </summary>
        public string? SupplierPeople { get; set; }
        /// <summary>
        /// 供应商联系方式
        /// </summary>
        public string? SupplierPhone { get; set; }

        /// <summary>
        /// 库位
        /// </summary>
        public string? Location { get; set; }
        /// <summary>
        /// 出库类型
        /// </summary>
        public ApiOutbound? Outbound { get; set; }
        /// <summary>
        /// 客户
        /// </summary>
        public string? Customer { get; set; }
        /// <summary>
        /// 制单人
        /// </summary>
        public string? OutCreator { get; set; }
        /// <summary>
        /// 审核人
        /// </summary>
        public string? OutReviewer { get; set; }
        /// <summary>
        /// 审核时间
        /// </summary>
        public DateTime? OutAuditTime { get; set; } = DateTime.Now;
        /// <summary>
        /// 审核状态
        /// </summary>
        public ApiStatus? OutAuditstatus { get; set; }
        /// <summary>
        /// 制单时间
        /// </summary>
        public DateTime? OutCreationTime { get; set; }
        /// <summary>
        /// 修改人
        /// </summary>
        public string? OutModifiedBy { get; set; }
        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime? OutChangeTime { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string? Rember { get; set; }
        /// <summary>
        /// 逻辑删除列
        /// </summary>
        public int? IsDelete { get; set; } = 0;
        /// <summary>
        /// 审核原因
        /// </summary>
        public string ShenRember { get; set; }
        public string? ProductId { get; set; }
        public string? ProductNum { get; set; }
        public string? ProductName { get; set; }
        public string? Specification { get; set; }
        public string? Price { get; set; }
        public string? Binlocation { get; set; }

    }
}
